package com.itheima.patterns.builderpattern.singleton.hungryman;

public class Client {
    
    public static void main(String[] args) {
        Singleton instance1 = Singleton.getInstance();
        Singleton instance2 = Singleton.getInstance();
        //下面的打印结果为true
        System.out.println(instance1 == instance2);
    }
}